package com.aizuda.easyManagerTool.service.monitor;

import com.aizuda.easy.security.domain.Rep;
import com.aizuda.easy.security.domain.Req;
import com.aizuda.easyManagerTool.domian.dto.PageDTO;
import com.aizuda.easyManagerTool.domian.entity.monitor.MonitorDataEntity;
import com.aizuda.easyManagerTool.domian.vo.PageVO;
import com.aizuda.easyManagerTool.domian.vo.setting.SettingUserVO;

import java.util.Map;

public interface MonitorDataService {

    Rep<PageVO<MonitorDataEntity>> find(Req<PageDTO<MonitorDataEntity>, SettingUserVO> req);

    Rep<MonitorDataEntity> edit(Req<MonitorDataEntity, SettingUserVO> req);

    void edit(MonitorDataEntity monitorDataEntity);

    Rep<MonitorDataEntity> del(Req<MonitorDataEntity, SettingUserVO> req);

    void del(String url,Integer tenantId);

    Rep<Map<String,Object>> getUrl(Req<MonitorDataEntity, SettingUserVO> req);

    void exec();

}
